<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>{{ page_title }}</title>
<link href="{{ static_url("css/bootstrap.min.css") }}" rel="stylesheet">
<link href="{{ static_url("css/bootstrap-theme.min.css") }}" rel="stylesheet">
<script type="text/javascript" src="{{ static_url("js/jquery-2.0.3.min.js") }}"></script>
<script type="text/javascript" src="{{ static_url("js/bootstrap.min.js") }}"></script>
<script type="text/javascript" src="{{ static_url("js/online-scan.js") }}"></script>
</head>
<body>
    <div class="container">
        <div class="navbar navbar-default" role="navigation">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">常规安全漏洞在线测试系统</a>
            </div>
            <div class="navbar-collapse collapse">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="#">漏洞检测</a></li>
                    <li class="dropdown">
                        <a href="#">日志</a>
                    </li>
                </ul>
            </div>
        </div>

        <div class="jumbotron">
        <center>
            <form class="form-inline" role="form" action="/check" method="POST">
                <div class="form-group">
                    <input type="text" class="span5 form-control" name="url" id="url" placeholder="请输入完整的链接地址，比如 http://test.com/1.html" size="60">
                </div>
                <div class="form-group" style="display:none">
                    <input type="text" class="span5 form-control" name="ip" id="ip" placeholder="IP 地址" hidden>
                </div>
                <div class="form-group" style="display:none">
                    <input type="text" class="form-control" name="port" id="port" placeholder="端口">
                </div>
                <div class="form-group">
                    <select class="form-control" id="service" name="service">
                        <option value="apache">Apache Dos</option>
                        <option value="rsync">Rsync</option>
                        <option value="mysql">MySQL</option>
                    </select>
                </div>
                {% raw xsrf_form_html() %}
                <button type="button" class="btn btn-default" id="btm_check">检测</button>
            </form>
        </center>
        </div>

        <div class="jumbotron">
        <center>
            <div id="result">给我给我给我</div>
        </center>
        </div>
    </div>
</body>
</html>